import React,{Component} from "react";
import ReactDom from "react-dom";
import MyHeader from "./header";
import MyContent from "./content";
import MyFooter from "./footer";
// ReactDom.render(<div>欢迎学习react</div>,document.getElementById("root"));
class App extends Component {
  render (){
      return(
    <div>
      <MyHeader></MyHeader>
      <MyContent></MyContent>
      <MyFooter></MyFooter>
      欢迎学习{this.props.content}
    </div>
      )
  }
}
ReactDom.render(<App content="React"></App>,document.getElementById("root"))